package com.angel.bo.common.constant;

/**
 * @author 张巍
 * @date 2018/2/9 15:10
 * 请求返回状态常量
 */
public class ReturnCode {

    public static final String[] NULL_POINT_EXCEPTION = {"ANGEL-00000","你空指针异常了!"};

    public static final String[] SYSTEM_ERROR = {"ANGEL-00001","未知异常！"};

    public static final String[] METHOD_ERROR = {"ANGEL-00010","请求方式出错！"};

    public static final String[] JSON_DATA_ERROR = {"ANGEL-00011","请求参数有问题！"};

    public static final String[] USER_TOKEN_ERROR = {"ANGEL-00101","用户token错误！"};

    public static final String[] USER_TOKEN_EXPIRED = {"ANGEL-00110","用户token过期了！"};

    public static final String[] USER_TOKEN_NULL = {"ANGEL-00111","用户token是空的！"};

    public static final String[] METHOD_NOT_FOUND = {"ANGEL-01000","方法不存在！"};

    public static final String[] GENERATE_TOKEN_ERROR = {"ANGEL-01001","生成token异常！"};

    /**
     * 请求正常
     */
    public static final String OK = "200";
    /**
     * 请求未通过校验
     */
    public static final String NO = "400";
    /**
     * 请求发生异常
     */
    public static final String ERROR = "500";
}
